#include "DXUT.h"
#include "../Block.h"

bool collision(IWorld * world, const D3DXVECTOR3 *obb, Block *blocks, INTVECTOR3 * pos, bool *collides);
bool collision(IWorld * world, const D3DXAABB &aabb, Block *blocks, INTVECTOR3 * pos, bool *collides);

int axisAlignedCollision(const D3DXAABB &staticbox, const D3DXAABB &movingbox, const D3DXVECTOR3 &speed, float d, float &dtime);